package com.shop.service;

import com.shop.entity.Store;
import com.shop.entity.User;

import java.util.List;

public interface StoreService {

    /**
     * 创建店铺
     *
     * @param storeName
     * @return
     */
    int createStore(String storeName,Long userId);

    /**
     *
     * 查找用户属下的全部店铺
     * @param userId
     * @return
     */
    List<Store> findAllStore(Long userId);



}
